<template>
  <div>
    <el-input 
      size="mini" 
      type="text" 
      :maxlength="comp.config.maxLength"
      :show-word-limit="comp.config.showLimit"
      :disabled="comp.config.isDisable"
      :readonly="comp.config.isReadonly"
      :placeholder="comp.config.placeholder"
      v-model="comp.config.defaultValue"
      clearable >
    </el-input>
    <slot/>
  </div>
</template>

<script>

export default {
  name: "inputView",
  components: {},
  props: ["comp"],
  data() {
    return {};
  },
  computed: {},
  methods: {},
  mounted() {
  }
}
</script>,
<style scoped>

</style>
